﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UI
{

    public class CasingEntity
    {
        private string spaghetti_code;
        private float start_location;//开始位置
        private float end_location;//结束位置
        private float criterion_size;
        private string criterion_thread_type;
        private float well_long;
        private string steel_rade;
        private float wall_thickness;
        private float weight_per_meter;
        private float gross_weight;
        private float resist_out_strength;
        private float resist_out_safety_factor;
        private float resist_in_strength;
        private float resist_in_safety_factor;
        private float resist_pull_strength;
        private float resist_pull_safety_factor;
        private float three_safety_factor;

        public string Spaghetti_code
        {
            get
            {
                return spaghetti_code;
            }

            set
            {
                spaghetti_code = value;
            }
        }

        public float Start_location
        {
            get
            {
                return start_location;
            }

            set
            {
                start_location = value;
            }
        }

        public float End_location
        {
            get
            {
                return end_location;
            }

            set
            {
                end_location = value;
            }
        }

        public float Criterion_size
        {
            get
            {
                return criterion_size;
            }

            set
            {
                criterion_size = value;
            }
        }

        public string Criterion_thread_type
        {
            get
            {
                return criterion_thread_type;
            }

            set
            {
                criterion_thread_type = value;
            }
        }

        public float Well_long
        {
            get
            {
                return well_long;
            }

            set
            {
                well_long = value;
            }
        }

        public string Steel_rade
        {
            get
            {
                return steel_rade;
            }

            set
            {
                steel_rade = value;
            }
        }

        public float Wall_thickness
        {
            get
            {
                return wall_thickness;
            }

            set
            {
                wall_thickness = value;
            }
        }

        public float Weight_per_meter
        {
            get
            {
                return weight_per_meter;
            }

            set
            {
                weight_per_meter = value;
            }
        }
        public float Gross_weight
        {
            get
            {
                return gross_weight;
            }

            set
            {
                gross_weight = value;
            }
        }
        public float Resist_out_strength
        {
            get
            {
                return resist_out_strength;
            }

            set
            {
                resist_out_strength = value;
            }
        }
        public float Resist_out_safety_factor
        {
            get
            {
                return resist_out_safety_factor;
            }

            set
            {
                resist_out_safety_factor = value;
            }
        }
        public float Resist_in_strength
        {
            get
            {
                return resist_in_strength;
            }

            set
            {
                resist_in_strength = value;
            }
        }
        public float Resist_in_safety_factor
        {
            get
            {
                return resist_in_safety_factor;
            }

            set
            {
                resist_in_safety_factor = value;
            }
        }
        public float Resist_pull_strength
        {
            get
            {
                return resist_pull_strength;
            }

            set
            {
                resist_pull_strength = value;
            }
        }
        public float Resist_pull_safety_factor
        {
            get
            {
                return resist_pull_safety_factor;
            }

            set
            {
                resist_pull_safety_factor = value;
            }
        }
        public float Three_safety_factor
        {
            get
            {
                return three_safety_factor;
            }

            set
            {
                three_safety_factor = value;
            }
        }

        public CasingEntity(string spaghetti_code, float start_location, float end_location, float criterion_size, string criterion_thread_type, float well_long, string steel_rade, float wall_thickness, float weight_per_meter, float gross_weight, float resist_out_strength, float resist_out_safety_factor, float resist_in_strength, float resist_in_safety_factor, float resist_pull_strength, float resist_pull_safety_factor, float three_safety_factor)
        {
            this.spaghetti_code = spaghetti_code;
            this.start_location = start_location;
            this.end_location = end_location;
            this.criterion_size = criterion_size;
            this.criterion_thread_type = criterion_thread_type;
            this.well_long = well_long;
            this.steel_rade = steel_rade;
            this.wall_thickness = wall_thickness;
            this.weight_per_meter = weight_per_meter;
            this.gross_weight = gross_weight;
            this.resist_out_strength = resist_out_strength;
            this.resist_out_safety_factor = resist_out_safety_factor;
            this.resist_in_strength = resist_in_strength;
            this.resist_in_safety_factor = resist_in_safety_factor;
            this.resist_pull_strength = resist_pull_strength;
            this.resist_pull_safety_factor = resist_pull_safety_factor;
            this.three_safety_factor = three_safety_factor;

        }
    }
}
